package com.deng.common;

import java.sql.Connection;
import java.sql.ResultSet;

public class Test2 extends SQLHelper {

	public static void main(String s[]){
		new Test2().test();
	}
	public void test(){
		try{
			Connection con = getConnect();
			ResultSet rs = queryData(con,"select * from DICT_CLASS_TYPE");	
			while(rs.next()){
				System.out.println(rs.getString(1));
			}
			
		}catch(Exception ex){
			ex.printStackTrace();
		}
	}
}
